<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace app\components;

/**
 * Description of MyBehavior
 *
 * @author Administrator
 */
class MyBehavior extends \yii\base\Behavior{
    //put your code here
    public $p1="get behavior";
    public  function getMethod(){
        echo 'method';
    }
}
